{extend name="public/base" /}
{block name="body"}
<!--主题-->
<div class="page-header">
    <h1>
        您当前操作
        <small>
            <i class="ace-icon fa fa-angle-double-right"></i>
            添加用户组
        </small>
    </h1>
</div>
<div class="row">
    <div class="col-xs-12">
        <form class="form-horizontal" action="{:url('Managegroup/GroupAdd')}" name="admin_group_edit" id="myform" method="post"
              action="">
            <input type="hidden" name="id" id="id" value="{$id}"/>

            <div class="form-group">
                <label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 用户组名： </label>

                <div class="col-sm-10">
                    <input type="text" name="title" id="title" value="{$row.title|default=""}" class="col-xs-10 col-sm-4"/>
                </div>
            </div>
            <div class="space-4"></div>

            <div class="form-group">
                <label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 是否启用： </label>

                <div class="col-sm-10" style="padding-top:5px;">
                    <input name="status" id="status" value="1" class="ace ace-switch ace-switch-4 btn-flat" type="checkbox" {notempty name="row['status']"}checked{/notempty}/>
                    <span class="lbl">&nbsp;&nbsp;默认关闭</span>
                </div>
            </div>
            <div class="space-4"></div>

            <div class="form-group">
                <label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 规则设置： </label>

                <div class="col-sm-10" style="padding-top:3px;">
                    <span class="lbl">设置规则请在用户组列表页进行规则配置</span>
                </div>
            </div>
            <div class="space-4"></div>

            <div class="clearfix form-actions">
                <div class="col-md-offset-3 col-md-9">
                    <button class="btn btn-info" type="submit">
                        <i class="ace-icon fa fa-check bigger-110"></i>
                        保存
                    </button>

                    &nbsp; &nbsp; &nbsp;
                    <button class="btn" type="reset">
                        <i class="ace-icon fa fa-undo bigger-110"></i>
                        重置
                    </button>
					 &nbsp; &nbsp; &nbsp;
					<a href="{:url('Managegroup/GroupList')}" class="btn btn-success" type="submit">
                        <i class="ace-icon fa fa-reply bigger-110"></i>
						返回
                    </a>
                </div>
            </div>
        </form>
    </div>
</div>
{/block}